{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    
    会员管理
    <span class="c-gray en">&gt;</span>
    会员列表
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
  <div class="cl pd-5 bg-1 bk-gray mt-20" style="margin-left:17px;"> <span class="l"><a class="btn btn-primary radius" data-title="未审核充值列表" data-href="{:url('recharge/cz_list_no')}?id=32&cid={$cid}" onclick="Hui_admin_tab(this)" href="javascript:;">未审核充值列表</a></span><span class="l"><a class="btn btn-primary radius" data-title="已审核充值列表" data-href="{:url('recharge/cz_list_ok')}?id=33&cid={$cid}" style="margin-left:20px;" onclick="Hui_admin_tab(this)" href="javascript:;">已审核充值列表</a></span>  <a style="margin-left:20px;" href="javascript:;" onclick="" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 一键删除未成功</a> <span class="r">当前列表充值金额：<strong>{$money}</strong> 元</span> </div>
  
  <div style="margin-top:10px;margin-left:20px;">
    <form action="" enctype="application/x-www-form-urlencoded" method="post">
  
    <input type="text" name="us_sql" id="" placeholder=" 会员账号" style="width:150px" class="input-text">
    <input type="text" name="ddbh" id="" placeholder=" 充值订单" style="width:150px" class="input-text">
    充值方式：
   <span class="select-box inline">
    <select name="czclass" class="select">
      <option value="">全部方式</option>
    <option value="1">线上充值</option>
    <option value="2">线下充值</option>
    <option value="3">手工充值</option>
    </select>
    </span> 
    订单状态：
   <span class="select-box inline">
    <select name="ddzt" class="select">
      <option value="">全部订单</option>
    <option value="1">只看成功</option>
    <option value="0">只看未成功</option>
    </select>
  </span>
    日期范围：
    <input type="text" name="sDate1" onfocus="WdatePicker({minDate:$('#logmin').val()})" id="logmin" class="input-text Wdate" style="width:120px;">
    -
    <input type="text" name="sDate2" onfocus="WdatePicker({minDate:$('#logmax').val()})" id="logmax" class="input-text Wdate" style="width:120px;">
    <button class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i>搜索</button>
  </form>
  </div>


  <div class="page-container  dataTables_wrapper">
      <div id="tab-system" class="HuiTab">
        <div class="tabCon">
          <div class="mt-20">
            <table
              class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
              <thead>
                <tr class="text-c">
                  <th>ID</th>
                  <th>会员名称</th>
                  <th>充值金额</th>
                  <th>等级赠送金额</th>
                  <th>等级赠送百分比</th>
                  <th>满送金额</th>
                  <th>满送百分比</th>
                  <th>充值时间</th>
                  <th>订单编号</th>
                  <th>充值方式</th>
                  <th>留言信息</th>
                  <th>充值IP</th>
                  <th>订单状态</th>
                  <th>充值银行</th>
                  <th>操作员</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
              {volist name="query" id="item"}
                <tr class="text-c">
                  <td>{$item.uid}</td>
                  <td class="text-l">{$item.username}</td>
                  <td>{$item.je}</td>
                  <td>{$item.hy_zsje}</td>
                  <td>{if condition="$item.hy_zsbs neq ''"}{$item.hy_zsbs}{else}0{/if}</td>
                  <td>{$item.hy_msje}</td>
                  <td>{if condition="$item.hy_msbs neq ''"}{$item.hy_msbs}{else}0{/if}</td>
                  <td>{$item.cztime|date="m/d H:i:m",###}</td>
                  <td>{$item.ddbh}</td>
                  <td>{if condition="$item.czclass eq 1"}
            线上
          {elseif condition="$item.czclass eq 2"}
            线下
          {elseif condition="$item.czclass eq 3"}
            手工
          {/if}</td>
                  <td>{$item.liuyan}</td>
                  <td>{$item.czip}</td>
                  <td>{$item.zt=='1'?'已处理':'未处理'}</td>
                  <td>{$item.xxbank}</td>
                  <td>{$item.czadmin}</td>
                  <td class="f-14 td-manage">
                   {if condition="$item.zt eq 1"} 
                      禁
                    {else }
                    <a style="text-decoration: none" class="ml-5" href="/admin/recharge/throughAudita?id=33&cid=31&&czid={$item.uid}">
                      <i class="Hui-iconfont">&#xe6e1;</i>
                      {/if}
                    </a>
                  </td>
                </tr>
                {/volist}
              </tbody>
            </table>
          </div>
        </div>
      </div>
  </div>

  {/block} {block name="js"}
  <script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
  <script type="text/javascript">
function open_zhixing_1(tid){
   $('#zhixing').show();
   var urlsd="/admin/Recharge/oneKeyDelFail?id=33&cid=31";
   setTimeout(function(){
     this.location.replace(urlsd);
   },1000);
}
    $(function() {

      $('.skin-minimal input').iCheck({
        checkboxClass : 'icheckbox-blue',
        radioClass : 'iradio-blue',
        increaseArea : '20%'
      });
      $("#tab-system").Huitab({
        index : 0
      });
    });
  </script>
  {/block}
